package test02;

public class MyThread1 {
    public static void main(String[] args) {

        Cook cook = new Cook();
        Foodie foodie = new Foodie();

        cook.setName("厨师");
        foodie.setName("吃货");

        cook.start();
        foodie.start();


    }
}
